package com.denlaku.longan.controller;

import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author tianx
 */
public interface LoginController {
    /**
     * 登录
     *
     * @param request 请求对象
     * @param response 响应对象
     */
    @PostMapping("/login")
    void login(HttpServletRequest request, HttpServletResponse response);
}
